package com.suixinsanren.design.responsibilitychain.demo01;

public class Student {

    private String stNo;
    private String stName;
    private Integer age;
    private String gender;

    public Student() {
    }

    public Student(String stNo, String stName, Integer age, String gender) {
        this.stNo = stNo;
        this.stName = stName;
        this.age = age;
        this.gender = gender;
    }

    @Override
    public String toString() {
        return "Student{" +
                "stNo='" + stNo + '\'' +
                ", stName='" + stName + '\'' +
                ", age='" + age + '\'' +
                ", gender='" + gender + '\'' +
                '}';
    }

    public String getStNo() {
        return stNo;
    }

    public void setStNo(String stNo) {
        this.stNo = stNo;
    }

    public String getStName() {
        return stName;
    }

    public void setStName(String stName) {
        this.stName = stName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }
}
